$OpenBSD: patch-Jamrules,v 1.2 2014/07/11 21:39:04 pascal Exp $
--- Jamrules.orig	Sat Jun 21 23:24:06 2014
+++ Jamrules	Fri Jul 11 18:46:15 2014
@@ -69,7 +69,7 @@ EDELIB_DBUS      = edelib_dbus ;
 EDELIB_DBUS_NAME = libedelib_dbus ;
 
 # directory name for installed documentation
-EDELIB_DOCDIR = "$(EDELIB)-$(EDELIB_VERSION)" ;
+EDELIB_DOCDIR = "$(EDELIB)-$(EDE_VERSION)" ;
 
 # Haiku jam have builtin LocalClean and LocalDepends
 if ! $(INVOCATION_SUBDIR_SET) {
@@ -208,7 +208,7 @@ rule SharedLibraryFromObjects
 		LINKFLAGS on $(_l) = -h $(_l_so) -G [ on $(_l) return $(LINKFLAGS) ] ;
 	} else {
 		# let linker knows we are making shared library by adding -shared and -Wl,-soname libname.so flags
-		LINKFLAGS on $(_l) = -Wl,-soname,$(_l_so) -shared [ on $(_l) return $(LINKFLAGS) ] ;
+		LINKFLAGS on $(_l) = -shared [ on $(_l) return $(LINKFLAGS) ] ;
 	}
 
 	# make it
@@ -361,22 +361,6 @@ rule InstallSharedLibrary
 
 	# install .la file
 	MakeInstallPrivate $(dir) : $(2:S=$(SUFLA_SHARED)) ;
-
-	# install .so by making symbolic link; first remove all those directory parts
-  	# from variables (including grist)
-	o = $(s:G=) ;
-	o = $(o:D=) ;
-  	sh = $(sh:D=) ;
-
-  	# mark it as not file since it is just a name (e.g. ln -s foo.so.2 <target>)
-  	NotFile $(o) ;
-    SymLink $(sh) : $(o) ;
-
-  	# tell jam to put it in installation folder
-	MakeLocate $(sh) : $(dir) ;
-
-    LocalDepends install : $(sh) ;
-  	UninstallSharedLibrary1 uninstall : $(sh) ;
 }
 
 actions InstallSharedLibrary1
